package com.csinc.generate.core;

import com.csinc.generate.core.base.model.GenBeanEntity;
import com.csinc.generate.core.base.model.GenerationEntity;
import com.csinc.generate.core.base.model.TemplateModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * Create By 郭金宝 on 2018/7/23.<br>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CodeGenModel {
    //数据库类型
    private String dbType;
    //数据库地址
    private String url;
    //数据库名称
    private String dbName;
    //数据库连接用户
    private String username;
    //数据库密码
    private String passwd;
    //表名称
    private String tableName;
    //模板类型
    private String parseType;
    //生成的参数
    private GenerationEntity generationEntity = new GenerationEntity();
    //生成表信息
    private GenBeanEntity genBeanEntity = new GenBeanEntity();
    //生成模板文件信息
    private  List<TemplateModel> listTemplateModel = new ArrayList<>();
    //文件列表
    private List<String> fileList ;

}
